import type { BaseResponse } from '@/utils/request';
import { request } from '@/utils/request';

export function permmenu(params) {
  return request({
    url: '/api/menu/getUserMenuList',
    method: 'get',
    params: params
  });
}

export function logout() {
  return request({
    url: 'account/logout',
    method: 'post',
  });
}
